import 'package:yuwei_study_language_tools_flutter/tools/subtitle_tools.dart';

void main() {
  String str = "Hello world,'张三'!Hello world.Hello world?";
  RegExp r = RegExp(r"[\s!'?,\.]");
  // List<String> l = str.split(r);

  List<String> l = SubtitleTools.strToWords(str);
  print(l);
}
